<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:a="http://richfaces.org/a4j">

	<h:panelGrid columns="2" width="100%">
		<h:outputText value="#{flightmsgs['seatCount']}" />
		<h:outputText value="#{newFlight.seatCount}" />
	</h:panelGrid>
	<h:panelGrid columns="4" width="100%">

		<h:outputText value="#{newFlight.ticketTypeName[0]}" />
		<h:inputText id="type1" value="#{newFlight.ticketType1Quantity}"
			required="true">
			<f:validateLongRange minimum="0" maximum="1000" />
		</h:inputText>
		<h:outputText value="#{flightmsgs['price']}" />
		<h:inputText value="#{newFlight.ticketType1Price}" required="true">
			<f:validateLongRange minimum="0" maximum="1000000000" />
		</h:inputText>

		<h:outputText value="#{newFlight.ticketTypeName[1]}" />
		<h:inputText id="type2" value="#{newFlight.ticketType2Quantity}"
			required="true">
			<f:validateLongRange minimum="0" maximum="1000" />
		</h:inputText>
		<h:outputText value="#{flightmsgs['price']}" />
		<h:inputText value="#{newFlight.ticketType2Price}" required="true">
			<f:validateLongRange minimum="0" maximum="1000000000" />
		</h:inputText>

		<h:outputText value="#{newFlight.ticketTypeName[2]}" />
		<h:inputText id="type3" value="#{newFlight.ticketType3Quantity}"
			required="true">
			<f:validateLongRange minimum="0" maximum="1000" />
		</h:inputText>
		<h:outputText value="#{flightmsgs['price']}" />
		<h:inputText value="#{newFlight.ticketType3Price}" required="true">
			<f:validateLongRange minimum="0" maximum="1000000000" />
		</h:inputText>

		<h:outputText value="#{newFlight.ticketTypeName[3]}" />
		<h:inputText id="type4" value="#{newFlight.ticketType4Quantity}"
			required="true">
			<f:validateLongRange minimum="0" maximum="1000" />
		</h:inputText>
		<h:outputText value="#{flightmsgs['price']}" />
		<h:inputText value="#{newFlight.ticketType4Price}" required="true">
			<f:validateLongRange minimum="0" maximum="1000000000" />
		</h:inputText>
	</h:panelGrid>

</ui:composition>